package edu.nf.utils.handler;

import edu.nf.utils.RowProcessor;

import java.sql.ResultSet;
import java.sql.SQLException;

public class ArrayLlistHandler extends AbstractListHandler<Object[]>{
    @Override
    protected Object[] getRow(ResultSet rs) throws SQLException {
        return rs.next()? RowProcessor.toArray(rs):null;
    }
}
